<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/include/doctype.jsp" %>
</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>자원예약</h1>			
		</div><!-- // header -->
		<div class="content">
			<h3><a href="${requestScope.contextPath}/business/mResourceRes/mResourceResList.do?type=${type}">${home}</a> &gt; ${ResourceNM}</h3>			
			<div class="news" <c:if test="${platForm eq 'iPhone'}">style="height:330px;"</c:if>>
				<ul class="news">
					<c:forEach items="${mapList}" var="mapInfo" varStatus="status">
						
						<c:choose>
	       					<c:when test="${mapInfo.SubCount != '0' and mapInfo.IsSubDepth eq 'TRUE'}">
	       						<li onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResSubList.do?type=${type}&catid=${mapInfo.ResourceCode}&ResourceNM=${mapInfo.ResourceNMUtf}'">
									${mapInfo.ResourceNM}  
									<span class="arrow"><img src="${requestScope.contextPath}/images/board/arrow3.gif" alt="" /></span>
								</li>
	       					</c:when>
	       					
	       					<c:when test="${mapInfo.SubCount != '0' and mapInfo.IsSubDepth eq 'FALSE'}">
	       						<li onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResDetailList.do?ResType=View&ResType=${ResType }&type=${type}&catid=${mapInfo.ResourceCode}&ResourceNM=${mapInfo.ResourceNMUtf}'">
									${mapInfo.ResourceNM} 
								</li>
	       					</c:when>
	       					
							<c:otherwise>
								<li onclick="location.href='${requestScope.contextPath}/business/mResourceRes/mResourceResView.do?ResType=View&strResourceType=${type}&strResourceID=${mapInfo.ResourceCode}&ResourceNM=${mapInfo.ResourceNMUtf}'">
									${mapInfo.ResourceNM}
								</li>
							</c:otherwise>
						</c:choose>
						<!-- ${mapInfo.IsSubDepth}--> 
					</c:forEach>
				</ul>
			</div>
		</div><!-- // content -->
	</div><!-- // wrap -->
</body>
</html>